import _ from '../utils'

_.create('icon', {
  properties: {
    family: {
      type: String,
      value: 'icon',
    },
    type: {
      type: String,
      value: '',
    },
  },

  computed: {
    classes(data) {
      const { family, type } = data
      return `mp-icon ~${family}-${type}`
    },
  },

  lifetimes: {
    created() {},
  },
})
